package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * python脚本配置对象 python_script
 * 
 * @author ruoyi
 * @date 2024-11-28
 */
public class PythonScript extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 脚本名称 */
    @Excel(name = "脚本名称")
    private String scriptName;

    /** 脚本内容 */
    @Excel(name = "脚本内容")
    private String script;

    /** 脚本路径 */
    @Excel(name = "脚本路径")
    private String scriptPath;

    /** 脚本文件名 */
    @Excel(name = "脚本文件名")
    private String scriptFileName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScriptName(String scriptName) 
    {
        this.scriptName = scriptName;
    }

    public String getScriptName() 
    {
        return scriptName;
    }
    public void setScript(String script) 
    {
        this.script = script;
    }

    public String getScript() 
    {
        return script;
    }
    public void setScriptPath(String scriptPath) 
    {
        this.scriptPath = scriptPath;
    }

    public String getScriptPath() 
    {
        return scriptPath;
    }
    public void setScriptFileName(String scriptFileName) 
    {
        this.scriptFileName = scriptFileName;
    }

    public String getScriptFileName() 
    {
        return scriptFileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scriptName", getScriptName())
            .append("script", getScript())
            .append("scriptPath", getScriptPath())
            .append("scriptFileName", getScriptFileName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
